package com.jiantong.work.service;

import com.jiantong.work.model.ImmunizationSubRecord;
import io.terminus.common.model.Response;

/**
 * Created by mz on 26/7/17.
 *
 */
public interface ImmunizationSubRecordWriteService {

    /**
     * 添加一次免疫
     * @param immunizationSubRecord 免疫信息的对象
     * @return Response<Long>
     */
    Response<Long> create(ImmunizationSubRecord immunizationSubRecord);

    /**
     * 更新一次免疫
     * @param immunizationSubRecord 免疫信息的对象
     * @return Response<Boolean>
     */
    Response<Boolean> update(ImmunizationSubRecord immunizationSubRecord);
}
